@layout("/common/_container.html",{js:["/assets/modular/system/btyFentanBxd/btyFentanBxd.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">


                            <div class="layui-inline">
                                <label class="layui-form-label">开业月份</label>
                                <div class="layui-inline">
                                    <input id="timeLimit" class="layui-input" type="text" autocomplete="off" placeholder="开业月份"/>
                                    <input id="timeLimit1" hidden/>
                                </div>
                            </div>

<!--                            <div class="layui-inline">-->
<!--                                <input id="name" class="layui-input" type="text" placeholder="门店名称"/>-->
<!--                            </div>-->

                            <div class="layui-inline">
                            <label class="layui-form-label layui-inline shop-name">门店名称</label>
                            <div class="layui-inline">
                                    <select id="name" lay-search lay-filter="name" lay-verify="required" required>
                                        <option value="">门店名称</option>
                                    </select>
                                </div>
                            </div>


<!--                            <div class="layui-inline">-->
<!--                                <input id="type" class="layui-input" type="text" placeholder="类型；0->店面房租,1->工资  ,2->配送进货"/>-->
<!--                            </div>-->

                            <div class="layui-inline">
                                <label class="layui-form-label alPay-name">类型</label>
                                <div class="layui-inline" style="display: inline-block; width: 175px">
                                    <select name="type" lay-filter="language" id="type" lay-search lay-verify="required" required>
                                        <option value='0'>店面房租</option>
                                        <option value='1'>工资</option>
                                        <option value='2'>配送进货</option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label alPay-name">状态</label>
                                <div class="layui-inline" style="display: inline-block; width: 175px">
                                    <select name="status" lay-filter="language" id="status" lay-search lay-verify="required" required>
                                        <option value=''>全部</option>
                                        <option value='1'>已生成</option>
                                        <option value='2'>未生成</option>
                                    </select>
                                </div>
                            </div>

<!--                            <div class="layui-inline">-->
<!--                                <label class="layui-form-label layui-inline shop-name">装修费用</label>-->
<!--                                <div class="layui-inline" >-->
<!--                                    <input id="cost" class="layui-input" type="text" placeholder="装修费用" lay-verify="required" required/>-->

<!--                                </div>-->
<!--                            </div>-->
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
<!--                                <button id="btnAdd" class="layui-btn icon-btn" lay-filter="btnSubmit" lay-submit><i class="layui-icon">&#xe654;</i>添加</button>-->
<!--                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="btyZxFeiyongfentanTable" lay-filter="btyZxFeiyongfentanTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    {{#  if(d.status == '2'){ }}
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="pass">生成报销单</a>
    {{# } }}

    {{#  if(d.status == '1'){ }}
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="rebut">撤回报销单</a>
    {{# } }}
</script>
@}